
export namespace="kubeshark-system"
export app_name="kubeshark"  # change the release name according to your scenario
export repo="kubeshark"
export helm="$repo/$app_name"
export url="https://helm.kubeshark.co"


# helm repo remove $repo
helm repo add $repo $url
helm repo update $repo

helm upgrade --install -n $namespace --create-namespace $app_name $helm \
  --set tap.ingress.enabled=true \
  --set tap.ingress.host=graph.youling.io \
  --set "tap.ingress.approveddomains={qq.com}" \
  --set license=LICENSE_GOES_HERE


# 外装数据库
# kubectl port-forward service/kubeshark-hub 8898:80 & \
# kubectl port-forward service/kubeshark-front 8899:80 &